--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Node / ReticulumProjects / Sideband.git / files / recipes / hostpython3 / patches / pyconfig_detection.patch
Displaying Raw • Download
recipes/hostpython3/patches/pyconfig_detection.patch HEAD (8b8a5035) Text, 652 B
Tc9d1d9diff -Nru Python-3.8.2/Lib/site.py Python-3.8.2-new/Lib/site.py
Tf85149--- Python-3.8.2/Lib/site.py 2020-04-28 12:48:38.000000000 -0700
T7ee787+++ Python-3.8.2-new/Lib/site.py 2020-04-28 12:52:46.000000000 -0700
Tc9d1d9@@ -487,7 +487,8 @@
if key == 'include-system-site-packages':
system_site = value.lower()
elif key == 'home':
Tf85149- sys._home = value
T7ee787+ # this is breaking pyconfig.h path detection with venv
T7ee787+ print('Ignoring "sys._home = value" override', file=sys.stderr)
sys.prefix = sys.exec_prefix = site_prefix
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────